package singleton;

public class PrintSpoolerSingletonEager {

    private static final PrintSpoolerSingletonEager INSTANCE = new PrintSpoolerSingletonEager();

    private PrintSpoolerSingletonEager() {
        System.out.println("创建打印池！");
    }

    public static PrintSpoolerSingletonEager getInstance() {
        return INSTANCE;  // 直接返回，简单高效
    }

    public void manageJobs() {
        System.out.println("管理打印任务！");
    }
}
